#import <UIKit/UIKit.h>
UIKIT_EXTERN CGFloat const LEFTVIEW_HEIGHT;
UIKIT_EXTERN CGFloat const TEXTFILDHEIGHT;
typedef NS_ENUM(NSInteger,JTWTextFieldType)
{
    JTWTextFieldTypeDefault = 1, 
    JTWTextFieldTypeAccountList, 
    JTWTextFieldTypeAccountNormal,
    JTWTextFieldTypePassword,    
    JTWTextFieldTypeVerify,      
    JTWTextFieldTypePhoneNumber, 
    JTWTextFieldTypeIDCart       
};
@protocol JTWTextFieldDelegate <UITextFieldDelegate>
- (void)dd_actionForXiaLa:(BOOL)isXiaLa;
- (BOOL)dd_actionForVerifyCode;
@end
@interface DDTextField : UITextField
@property (nonatomic, assign) id <JTWTextFieldDelegate>customDelegate;
@property (nonatomic, assign) JTWTextFieldType type;
@property (nonatomic, strong) DDButton *rightBtn;
- (instancetype)initWithFrame:(CGRect)frame;
- (instancetype)initWithPlaceholder:(NSString *)placeholder;
- (void)dd_setupRightView:(NSString *)imageName;
- (void)dd_setupLeftView:(NSString *)imageName;
- (void)dd_setupRightBtnTitle:(NSString *)title;
- (void)dd_stopTimer;
@end
